﻿<%@ Page Language="C#" MasterPageFile="~/egypt.Master" AutoEventWireup="true" CodeBehind="lyts.aspx.cs" Inherits="egypt.Web.lyts" Title="旅游贴士" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<table width="646" border="0" cellspacing="0" cellpadding="0">
<tr>
  <td width="200" rowspan="2"><img src="images/pic_e1.jpg" width="200" height="150" /></td>
  <td height="100" colspan="2"><img src="images/pic_e2.jpg" width="446" height="100" /></td>
  </tr>
<tr>
  <td width="222" style="width:222"><img src="images/pic_e3.jpg" width="222" height="50" /></td>
  <td width="224" style="width:220" class="Title">旅游贴士</td>
</tr>
</table>
<asp:GridView ID="GridView1" CellPadding="0" CellSpacing="1" runat="server" AutoGenerateColumns="False" Width="647px" AllowPaging="false" GridLines="None">
        <Columns>
            <asp:TemplateField HeaderText="标题">
                <ItemStyle Width="455px" CssClass="Content" />
                <ItemTemplate>
                    ·<asp:HyperLink id="hylink" NavigateUrl='<%# Bind("ID","detial.aspx?nid={0}") %>' runat="server" Text='<%# Bind("Title")%>'></asp:HyperLink>
                </ItemTemplate>
            <FooterTemplate></FooterTemplate>
                <HeaderStyle CssClass="Title2" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="发布时间">
            <ItemStyle Width="122px"  CssClass="Content" />
                <ItemTemplate>
                    <asp:Label ID="Label2" runat="server" Text='<%# Bind("AddTime") %>'></asp:Label>
                </ItemTemplate>
                <HeaderStyle CssClass="Title2" />
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
    <div class="Content" style="text-align:right; width:645px; margin-left:1px">
        <asp:HyperLink ID="hy_first" runat="server">首页</asp:HyperLink>
        <asp:HyperLink ID="hy_pre" runat="server">上一页</asp:HyperLink>
        <asp:PlaceHolder ID="pager_link" runat ="server"></asp:PlaceHolder>
        <asp:HyperLink ID="hy_next" runat="server">下一页</asp:HyperLink>
        <asp:HyperLink ID="hy_last" runat="server">末页</asp:HyperLink>
    </div>
</asp:Content>
